package com.csr.csrcheck.pojo;


import java.util.Objects;

public class Role {
    private int role_id;

    private String role_name;

    public int getRole_id() {
        return this.role_id;
    }

    public void setRole_id(int role_id) {
        this.role_id = role_id;
    }

    public String getRole_name() {
        return this.role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (!(o instanceof com.csr.csrcheck.pojo.Role))
            return false;
        com.csr.csrcheck.pojo.Role role = (com.csr.csrcheck.pojo.Role)o;
        return (this.role_id == role.role_id);
    }

    public int hashCode() {
        return Objects.hash(new Object[] { Integer.valueOf(this.role_id) });
    }

    public String toString() {
        return "Role{role_id=" + this.role_id + ", role_name='" + this.role_name + '\'' + '}';
    }
}
